<html>
  <head>
  	<title>Cambio de password de </title>
  	
		<meta name="layout" content="mainAlumno" />

  	 <link rel="stylesheet" 
           href="${resource(dir:'css',file:'mainAlumno.css')}" />
        <link rel="shortcut icon" 
           href="${resource(dir:'images',file:'favicon.ico')}" 
           type="image/x-icon" />
          <g:javascript library="application" />

  </head>
  <body>
  	<div class="body">
  	  <g:if test="${flash.message}">
  	     <div class="message">
  	       ${flash.message}
  	      </div>
  	   </g:if>
  	   <h1>
  	      Cambiar Password
  	   </h1>
  	   <br /><br />
  	   <form action="handleLogin">
  	      <table>

  	      <tr><td>
  	      <span class='nameClear'>
  	      <label for="password">
  	      	Password :
  	      	</label>
  	      </span></td><td>
  	      <g:passwordField name='password'></g:passwordField>
  	      </td></tr>
  	      
  	      <tr><td>
  	      <label for="password">
  	      	Nuevo Password:
  	      	</label></td><td>
  	      <g:passwordField name='npassword'></g:passwordField>
  	      <br></td></tr>

  	      <tr><td>
  	      <label for="password">
  	      	Reescribe Nuevo Password:
  	      	</label></td><td>
  	      <g:passwordField name='npassword2'></g:passwordField>
  	      <br></td></tr>
  	      
  	      <tr><td>
  	      	<g:actionSubmit value="Cambiar" action="nuevoPassword" />
		</td>
  	        </td></tr></table>
  	  
  	    </form>
  	    <br />
  	       <h1>Olvidé mi cuenta</h1>
	    <br />
	    <form action="recupera">
  	      <table>
  	      <tr><td>
  	      <span class='nameClear'><label for="dni">
  	      	D.N.I.
  	      	</label>
  	      </span></td><td>
  	      <g:textField name='dni'></g:textField>
  	      </td></tr>
  	      <tr><td>
  	            <g:actionSubmit value="Recupera" action="recupera" />
		</td><td><h6> Se enviará un correo con un nuevo password</h6>
  	        </td></tr></table>
  	  
  	    </form>
  	       

  	 </div>
   </body>
</html>
